package com.qk.management.web.filter;

import jakarta.servlet.*;
import jakarta.servlet.annotation.WebFilter;

import java.io.IOException;

/**
 * @Author: ZgYn
 * @Date 2025/10/11 10:38
 * @name：Filter
 */
@WebFilter("/*")
public class MyFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("-----------MyFilter doFilter-------------");
        filterChain.doFilter(servletRequest, servletResponse);
    }
}
